/*
 * TermInReport.h
 *
 *  Created on: Mar 13, 2013
 *      Author: Chengnian Sun
 */

#ifndef TERMINREPORT_H_
#define TERMINREPORT_H_

class AbstractBugReport;

class TermInReport {
private:

  AbstractBugReport* m_report;

  int m_term_frequency;

//  TermInReport(const TermInReport& copy);?

//  TermInReport& operator=(const TermInReport& copy);

public:
  TermInReport(AbstractBugReport* bug_report, int term_frequency)
      : m_report(bug_report), m_term_frequency(term_frequency) {
  }

  int get_tf() const {
    return this->m_term_frequency;
  }

  AbstractBugReport* get_report() const {
    return this->m_report;
  }
};

#endif /* TERMINREPORT_H_ */
